package com.sluggard.ai.mapper;

import com.sluggard.ai.model.entity.KnowledgeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * ai 知识库 Mapper 接口
 * </p>
 *
 * @author lizheng
 * @since 2025-04-23
 */
public interface KnowledgeMapper extends BaseMapper<KnowledgeEntity> {

    KnowledgeEntity findKnowledgeByName(@Param(value = "name")String name);
}
